package com.example.supplychainbackend.dao.sales;

import com.example.supplychainbackend.entity.sales.CustomerEntity;
import com.example.supplychainbackend.entity.sales.CustomerInvoiceEntity;
import com.example.supplychainbackend.entity.sales.CustomerPaymentEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CustomerPaymentDao extends JpaRepository<CustomerPaymentEntity, Long> {
    List<CustomerPaymentEntity> findAllByCustomerId(String customerId);
    Long deleteByCustomerId(String customerId);
}